﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GraphosData
{
	public enum Gender { Male, Female }

	public enum Relation
	{
		Son = 1,
		Daughter = 2,
		Mother = 3,
		Father = 4,
		Sister = 5,
		Brother = 6,
		Wife = 7,
		Husband = 8,
		Apostle = 9,
		Grandson = 10,
		Family = 10,
		MaidServent = 11,
		Concubine = 12,
		Unknown = 13

	}

	public class Person : IComparable<Person>
	{
		public string ID { get; set; }
		public string FirstName { get; set; }
		public string LastName { get; set; }
		public Gender Gender { get; set; }

		public override string ToString()
		{
			return FirstName;
		}

		#region IComparable<Person> Members

		public int CompareTo(Person other)
		{
			return ID.CompareTo(other.ID);
		}

		#endregion
	}
}
